package com.stu.mapper;

import com.stu.bean.Critic;
import com.stu.bean.CriticExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CriticMapper {
    long countByExample(CriticExample example);

    int deleteByExample(CriticExample example);

    int deleteByPrimaryKey(Integer cid);

    int insert(Critic record);

    int insertSelective(Critic record);

    List<Critic> selectByExample(CriticExample example);

    Critic selectByPrimaryKey(Integer cid);

    int updateByExampleSelective(@Param("record") Critic record, @Param("example") CriticExample example);

    int updateByExample(@Param("record") Critic record, @Param("example") CriticExample example);

    int updateByPrimaryKeySelective(Critic record);

    int updateByPrimaryKey(Critic record);
}